package bean;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 34255
 * Date: 2024-09-16
 * Time: 16:30
 */
public class Course {
    private int code;
    private String name;
    private String classroom;
    private String time;
    private int credit;
    private int TeacherAccountNum;
    private String  state;

    public Course(int code, String name, String classroom, String time, int credit, int teacherAccountNum, String state) {
        this.code = code;
        this.name = name;
        this.classroom = classroom;
        this.time = time;
        this.credit = credit;
        this.TeacherAccountNum = teacherAccountNum;
        this.state = state;
    }

    public Course(String name, String classroom, String time, int credit, int teacherAccountNum, String state) {
        this.name = name;
        this.classroom = classroom;
        this.time = time;
        this.credit = credit;
        this.TeacherAccountNum = teacherAccountNum;
        this.state = state;
    }

    public Course(String name, String classroom, String time, int credit, int teacherAccountNum) {
        this.name = name;
        this.classroom = classroom;
        this.time = time;
        this.credit = credit;
        TeacherAccountNum = teacherAccountNum;
    }

    public Course(int code) {
        this.code = code;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getClassroom() {
        return classroom;
    }

    public void setClassroom(String classroom) {
        this.classroom = classroom;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public int getCredit() {
        return credit;
    }

    public void setCredit(int credit) {
        this.credit = credit;
    }

    public int getTeacherAccountNum() {
        return TeacherAccountNum;
    }

    public void setTeacherAccountNum(int teacherAccountNum) {
        TeacherAccountNum = teacherAccountNum;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }
}
